package com.cnap.multiclouldmgmt.model.k8sMonitorModels;

import com.cnap.multiclouldmgmt.model.k8sModels.K8sClusterModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
/**
 * 监控或者算法需要的数据
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sMonitorModels.K8sClusterMonitorModel",description = "集群监控信息")
public class K8sClusterMonitorModel extends K8sClusterModel {

    //集群中容器组总数
    @ApiModelProperty(value = "集群中容器组总数")
    private int totalPodNum;

    //集群中正常容器组总数
    @ApiModelProperty(value = "集群中正常容器组总数")
    private int normalPodNum;

    //集群中容器组配额总数比例
    @ApiModelProperty(value = "集群中容器组配额总数比例")
    private String podQuota;

    //集群中节点总数
    @ApiModelProperty(value = "集群中节点总数")
    private int totalNodeNum;

    //集群中节点总数
    @ApiModelProperty(value = "集群中正常节点总数")
    private int normalNodeNum;

    //集群中的node情况
    @ApiModelProperty(value = "集群中的node情况")
    private List<NodeMonitorModel> nodeMonitorModels;

    //集群中cpu使用率
    @ApiModelProperty(value = "集群中cpu使用率")
    private String cpuUseRate;

    //集群中mem使用率
    @ApiModelProperty(value = "集群中mem使用率")
    private String memoryUseRate;

    //集群中磁盘使用率
    @ApiModelProperty(value = "集群中磁盘使用率")
    private String diskUseRate;

    /**
     * get
     *
     * @return TotalPodNum
     */
    public int getTotalPodNum() {
        return totalPodNum;
    }

    /**
     * set
     *
     * @param totalPodNum totalPodNum
     */
    public void setTotalPodNum(int totalPodNum) {
        this.totalPodNum = totalPodNum;
    }

    /**
     * get
     *
     * @return NormalPodNum
     */
    public int getNormalPodNum() {
        return normalPodNum;
    }

    /**
     * set
     *
     * @param normalPodNum normalPodNum
     */
    public void setNormalPodNum(int normalPodNum) {
        this.normalPodNum = normalPodNum;
    }

    /**
     * get
     *
     * @return PodQuota
     */
    public String getPodQuota() {
        return podQuota;
    }

    /**
     * set
     *
     * @param podQuota podQuota
     */
    public void setPodQuota(String podQuota) {
        this.podQuota = podQuota;
    }

    /**
     * get
     *
     * @return TotalNodeNum
     */
    public int getTotalNodeNum() {
        return totalNodeNum;
    }

    /**
     * set
     *
     * @param totalNodeNum totalNodeNum
     */
    public void setTotalNodeNum(int totalNodeNum) {
        this.totalNodeNum = totalNodeNum;
    }

    /**
     * get
     *
     * @return NormalNodeNum
     */
    public int getNormalNodeNum() {
        return normalNodeNum;
    }

    /**
     * set
     *
     * @param normalNodeNum normalNodeNum
     */
    public void setNormalNodeNum(int normalNodeNum) {
        this.normalNodeNum = normalNodeNum;
    }

    /**
     * get
     *
     * @return NodeMonitorModels
     */
    public List<NodeMonitorModel> getNodeMonitorModels() {
        return nodeMonitorModels;
    }

    /**
     * set
     *
     * @param nodeMonitorModels nodeMonitorModels
     */
    public void setNodeMonitorModels(List<NodeMonitorModel> nodeMonitorModels) {
        this.nodeMonitorModels = nodeMonitorModels;
    }

    /**
     * get
     *
     * @return CpuUseRate
     */
    public String getCpuUseRate() {
        return cpuUseRate;
    }

    /**
     * set
     *
     * @param cpuUseRate cpuUseRate
     */
    public void setCpuUseRate(String cpuUseRate) {
        this.cpuUseRate = cpuUseRate;
    }

    /**
     * get
     *
     * @return MemoryUseRate
     */
    public String getMemoryUseRate() {
        return memoryUseRate;
    }

    /**
     * set
     *
     * @param memoryUseRate memoryUseRate
     */
    public void setMemoryUseRate(String memoryUseRate) {
        this.memoryUseRate = memoryUseRate;
    }

    /**
     * get
     *
     * @return DiskUseRate
     */
    public String getDiskUseRate() {
        return diskUseRate;
    }

    /**
     * set
     *
     * @param diskUseRate diskUseRate
     */
    public void setDiskUseRate(String diskUseRate) {
        this.diskUseRate = diskUseRate;
    }
}
